[for unit string] -- removes next event for this unit
This verb will remove the next scheduled event for either the named event or for the named unit.
remove unit events: Removes all scheduled events for a unit
remove unit events string -- unit name
example : remove unit events "Coffee Pot"
This verb will remove all scheduled events for the device or group.
create event: Create a scheduled event
create event string
that turnson/turnsoff/toggles/executes/dims
unit string
[to level small integer]
[in integer] (seconds)
[starts at date] (AppleScript type date)
[repeats every integer] (seconds, Applescript: * Minutes,Hours,Days)
[randomize by small integer] (seconds only)
[with no script] (just don't execute any attendant scripts)
[weekdays string] -- Use a 7-character string of this form: “-M-W-F-” Use dashes for days not to execute.
example : create event "Morning Coffee" that turnson unit "Coffee Pot" starts at
(date) repeats every 1 * days weekdays "-MTWTF-"
This verb will create a new scheduled event with explicit start time and repeat period. You can turn on/off, dim or toggle a unit, or execute a script.
You can even randomize the event, and choose the weekdays.
suspend event: Suspend a scheduled event
suspend event string -- Event name in quotes
[for integer] -- seconds until 'next event time'
[until date] -- date and time for next event time
unsuspend event: unSuspend a scheduled event
unsuspend event string -- Event name in quotes
These two verbs allow you to temporarily suspend a scheduled event.
The event remains in the event list, but it just does not execute at its
scheduled time if it is suspended.
Of course, you need to know the Event Name to do so.
Thus, for such events, you must assign Names to them if you expect